package com.whirl.org.mapper;

import com.whirl.basic.mapper.BaseMapper;
import com.whirl.org.entity.Department;
import com.whirl.org.query.DepartmentQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xiaowei
 * @date 2022/6/12 19:23
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    /**
     * 特有的
     * 查询下级部门树
     * @return
     */
    List<Department> queryTree();
}
